<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="{% static '/css/index.css' %}"/>
    <title>密码找回</title>
{#    <script>#}
{#        $(function (){#}
{#            $("#butn").click(function (){#}
{#                let acc=$("#acc").val()#}
{#                if (acc == "" || acc == undefined){#}
{#                    alert("账号不能为空");#}
{#                    return;#}
{#                }#}
{#                let email = $("#email").val()#}
{#                if (email == "" || email == undefined){#}
{#                    alert("邮箱不能为空");#}
{#                    return;#}
{#                }#}
{#                $("#myform").submit()#}
{#            })#}
{#        })#}
{#    </script>#}
</head>
<body>
    <header>
    	<div class="lf">
    		<a class="home" href="{% url 'index' %}">系统首页</a>
    		<!-- <a href="bbs.html">论坛</a> -->
    		<a href="upload.html">上传资料</a>
    	</div>
    	<div id="search">
    		<input type="text" name="name" 
    			placeholder="请输入要搜索的资源" autocomplete="off"/><a class="search btn">搜索</a>
    	</div>
    	
    	<div class="rf">
    		<a href="{% url 'auth:userlogin' %}">登录/注册</a>
    		<a class="info" href="personal.html">个人中心</a>
    		<a class="cols" href="shoucang.html">收藏</a>
    		<a class="{% url 'auth:userlogout' %}">退出登录</a>
    	</div>
    </header>
	<article>
		<!-- 网站主体 -->
		<div id="main">
			<section class="ct">
				<!-- 上传表单-->
				<div class="upload">
					<h1>密码找回</h1>
					<form id="myform" action="{% url 'auth:userfindpass' %}" method="post">
						
						<p>
							<label>输入账号：</label>
							<input id="acc" class="upt" type="text" name="username" value="" placeholder="请输入您要找回密码的账号" />
							
						</p>
						<p>
							<label>输入邮件：</label>
							<input id="email" class="upt" type="text" name="email" value="" placeholder="请输入您账号注册时绑定的邮箱" />
							<em></em>
						</p>
						
						<p>
							<label></label>
							<!-- 邮件发送完后，可以使用 disable属性禁用 按钮 -->
							<input type="submit" id="butn" class="btn" value="确认找回" />
						</p>
					</form>
				</div>
			</section>	
		</div>
	</article>
	<footer>
		<p class="decro">本站所有资源信息均由网友上传,本站只是为了推广资源让更多读者下载,使用。如涉侵权，请联系管理员</p>
		<p class="cr">Copyright © 2021-2025 <span class="site">爱下载资源分享平台</span> All Rights Reserved.</p>
		<p class="num">沪ICP备14048333号</p>
	</footer>
</body>

</html>